/*********************************************************************************
Organization 					: 				Georgia Institute of Technology
  
Institute 						:				Cognitive Computing Group(CCL)
 
Authors							: 				Manish Mehta 
 												
Class							:				AttackData
 
Function						: 				A class for holding the data 
												when under attack
****************************************************************************/
package behavioradaptation.analysisdata;

import java.util.Vector;

import base.WargusUnit;

public class AttackData {
	private static enum m_attackagent {SELF, ENEMY};
	// Trace Index corresponding to when Attack started
	private int m_traceindex;
	// Enemy Units involved in the attack
	private Vector<WargusUnit> m_enemyunits;
	// Self Units involved in the attack 
	private Vector<WargusUnit> m_selfunits;
	private AttackData.m_attackagent m_agent;
	public AttackData()
	{
		m_enemyunits = new Vector<WargusUnit>();
		m_selfunits = new Vector<WargusUnit>();
	}
	public int getTraceIndex()
	{
		return m_traceindex;
	}
	
	public void addEnemyUnit(WargusUnit a_enemyunit)
	{			
		m_enemyunits.add(a_enemyunit);
	}
	public void addSelfUnit(WargusUnit a_selfunit)
	{	
		m_selfunits.add(a_selfunit);
	}
	
	public Vector<WargusUnit> getSelfUnits()
	{
		return m_selfunits;
	}
	public Vector<WargusUnit> getEnemyUnits()
	{
		return m_enemyunits;
	}
	
	public void setTraceIndex(int a_index)
	{
		m_traceindex = a_index;
	}
	
	public void setEnemyUnits(Vector<WargusUnit> a_enemyUnits)
	{
		m_enemyunits = a_enemyUnits;
	}
	
	public void setSelfUnits(Vector<WargusUnit> a_selfunit)
	{
		m_selfunits = a_selfunit;
	}
	
	
	
}
